package com.diankangwo.factory.dao;

import com.diankangwo.factory.entity.TdRefundMoney;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface TdRefundMoneyMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(TdRefundMoney record);

    int insertSelective(TdRefundMoney record);

    TdRefundMoney selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TdRefundMoney record);

    int updateByPrimaryKey(TdRefundMoney record);
    /**
     * 根据查询条件查询端口列表
     */
    List<TdRefundMoney> queryList(Map<String,Object> map);
    /**
     * 根据查询条件查询端口总数
     * @param map
     * @return
     */
    int queryTotal(Map<String,Object> map);
}